package com.example.mac.yuejian14.service;

import java.util.List;


import com.example.mac.yuejian14.bean.ConsultBean;
import com.example.mac.yuejian14.bean.TeacherBean;
import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

/**
 * Created by Administrator on 2017/10/25.
 */

public interface TeacherService {

    //获取大师列表接口
    @GET("Teacher/getTeacherList")
    Call<List<TeacherBean>> getTeacherList();


    @GET("Teacher/getTeacherById")
    Call<TeacherBean>getTeacherById(@Query("teachid") String teachid);




    //添加咨询
    @GET("Teacher/addconsult")
    Call<ConsultBean> addconsult(@Query("uid") int uid,
                                 @Query("co_intro") String co_intro);

}
